using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_tranorderTemp {

		/// <summary>
		/// 评价等级  1：好评 2：中评 3：差评
		/// </summary>
		[JsonProperty]
		public int? appgrade { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string coachAppraise { get; set; }

		/// <summary>
		/// 排班表id
		/// </summary>
		[JsonProperty]
		public Guid? coachid { get; set; }

		/// <summary>
		/// 具体的时间 预约的日期+预约时段
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string detailtime { get; set; }

		[JsonProperty]
		public DateTime? endtime { get; set; }

		/// <summary>
		/// 培训预约金额
		/// </summary>
		[JsonProperty]
		public Guid id { get; set; }

		/// <summary>
		/// 培训完成 时  学员是否参加培训  0学员参加培训并完成 1 学员未到
		/// </summary>
		[JsonProperty]
		public int? isstucome { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		/// <summary>
		/// 预约日期
		/// </summary>
		[JsonProperty]
		public DateTime? orderdate { get; set; }

		/// <summary>
		/// 预约或取消预约的时间
		/// </summary>
		[JsonProperty]
		public DateTime? orderedtime { get; set; }

		/// <summary>
		/// 预约记录状态 0取消预约  1已预约 2预约培训已完成 3预约培训完成已评价 4申请退费 5申请退费审核通过  6申请退费审核不通过
		/// </summary>
		[JsonProperty]
		public int? orderstate { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? price { get; set; } = 0;

		/// <summary>
		/// 学员ID 对应表 rq_jbxxb
		/// </summary>
		[JsonProperty]
		public Guid? studentid { get; set; }

		/// <summary>
		/// 培训预约内容   2科二培训预约  3科三培训预约
		/// </summary>
		[JsonProperty]
		public int? testnum { get; set; }

		/// <summary>
		/// 时间段ID 对应表rq_TimeSlot
		/// </summary>
		[JsonProperty]
		public Guid? timeslotid { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? xueshi { get; set; } = 1;

	}

}
